package com.card.game.pdk;

import java.util.Vector;

import com.card.game.Card;

public class PdkResult {
	String userId;//玩家id
	Vector<Card> hand;//剩余手牌
	int winScore;//输赢积分
	int bobm;//炸弹数
	int score;//当前积分
	
	public PdkResult(PdkPlayer player, int winScore) {
		this.userId = player.getUserId();
		this.hand = player.cards;
		this.winScore = winScore;
		this.bobm = player.pdkInfo.getBombNum();
		player.addScore(winScore);
		this.score = player.getScore();
	}

	public String getUserId() {
		return userId;
	}
	
}
